package com.ll.dao;

import com.ll.entity.User;

import java.util.List;

public interface UserDao {
    //根据id查询用户
    User findUserById(Integer id);
    //新增用户
    int createUser(User user);
    //修改用户
    int updateUser(User user);
    //删除用户
    int deleteUser(Integer id);
    //查询所有用户
    List<User> findAllUser();
}





